package com.example.forum.model;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Data
@Getter
@Setter
public class ArticleReply {
    //主键
    private Long id;

    //帖子id
    private Long articleId;

    //评论者编号
    private Long postUserId;

    //忽略 需求中楼中楼功能
    private Long replyId;

    //忽略 需求中楼中楼功能
    private Long replyUserId;

    //回复正文
    private String content;

    //忽略，对评论点赞
    private Integer likeCount;

    //评论状态 0正常 1禁用
    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //关联对象-回复的发布者
    private User user;
}